//
// Created by 32827 on 2023/11/23.
//

#ifndef YZFRAME_YZF_SYS_TICK_H
#define YZFRAME_YZF_SYS_TICK_H
#include "yzf.h"
#ifdef __cplusplus
extern "C" {
#endif
    YZF_BOOL yzf_sys_tick_countFlag();
    YZF_RESULT yzf_sys_tick_source_clk_div_8();
    YZF_RESULT yzf_sys_tick_source_clk();
    YZF_RESULT yzf_sys_tick_interrupt_enable();
    YZF_RESULT yzf_sys_tick_interrupt_disable();
    YZF_RESULT yzf_sys_tick_enable();
    YZF_RESULT yzf_sys_tick_dispose();
    YZF_RESULT yzf_sys_tick_load(uint32_t data);
    uint32_t yzf_sys_tick_var();
    YZF_RESULT yzf_sys_tick_set_var(uint32_t data);
    uint32_t yzf_sys_tick_get_10ms_ref();
    YZF_BOOL yzf_sys_tick_no_ref();
    YZF_BOOL yzf_sys_tick_is_exact_ref();
#ifdef __cplusplus
}
#endif
#endif //YZFRAME_YZF_SYS_TICK_H
